
%tr{:class => ((submission_counter%2==0) ? "info-even" : "info-odd")}
  %td.info{:align => "center"}
    = submission_counter+1
  %td.info= format_short_time(submission.submitted_at)
  %td.info{:align => "center"}
    = link_to('[load]',{:action => 'source', :id => submission.id})
  %td.info
    - if submission.graded_at!=nil
      = "Graded at #{format_short_time(submission.graded_at)}." 
      %br/
      = "Score: #{(submission.points*100/submission.problem.full_score).to_i} " if Configuration['ui.show_score']
      = " [" 
      %tt
        = submission.grader_comment
      = "]"
  %td.info
    = render :partial => 'compiler_message', :locals => {:compiler_message => submission.compiler_message }
